Optimal. Leaf size=59 \[ -\frac{2 a^2 c^4 (a-b x)^5}{5 b^2}-\frac{c^4 (a-b x)^7}{7 b^2}+\frac{a c^4 (a-b x)^6}{2 b^2} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.0949834, antiderivative size = 59, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 1, integrand size = 18, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.056 \[ -\frac{2 a^2 c^4 (a-b x)^5}{5 b^2}-\frac{c^4 (a-b x)^7}{7 b^2}+\frac{a c^4 (a-b x)^6}{2 b^2} \]
Antiderivative was successfully verified.
[In] Int[x*(a + b*x)*(a*c - b*c*x)^4,x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 30.4474, size = 51, normalized size = 0.86 \[ - \frac{2 a^{2} c^{4} \left (a - b x\right )^{5}}{5 b^{2}} + \frac{a c^{4} \left (a - b x\right )^{6}}{2 b^{2}} - \frac{c^{4} \left (a - b x\right )^{7}}{7 b^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate(x*(b*x+a)*(-b*c*x+a*c)**4,x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.00412394, size = 85, normalized size = 1.44 \[ \frac{1}{2} a^5 c^4 x^2-a^4 b c^4 x^3+\frac{1}{2} a^3 b^2 c^4 x^4+\frac{2}{5} a^2 b^3 c^4 x^5-\frac{1}{2} a b^4 c^4 x^6+\frac{1}{7} b^5 c^4 x^7 \]
Antiderivative was successfully verified.
[In] Integrate[x*(a + b*x)*(a*c - b*c*x)^4,x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.001, size = 76, normalized size = 1.3 \[{\frac{{b}^{5}{c}^{4}{x}^{7}}{7}}-{\frac{a{b}^{4}{c}^{4}{x}^{6}}{2}}+{\frac{2\,{a}^{2}{c}^{4}{b}^{3}{x}^{5}}{5}}+{\frac{{a}^{3}{c}^{4}{b}^{2}{x}^{4}}{2}}-{a}^{4}{c}^{4}b{x}^{3}+{\frac{{a}^{5}{c}^{4}{x}^{2}}{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int(x*(b*x+a)*(-b*c*x+a*c)^4,x)
[Out]
_______________________________________________________________________________________
Maxima [A] time = 1.37352, size = 101, normalized size = 1.71 \[ \frac{1}{7} \, b^{5} c^{4} x^{7} - \frac{1}{2} \, a b^{4} c^{4} x^{6} + \frac{2}{5} \, a^{2} b^{3} c^{4} x^{5} + \frac{1}{2} \, a^{3} b^{2} c^{4} x^{4} - a^{4} b c^{4} x^{3} + \frac{1}{2} \, a^{5} c^{4} x^{2} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*c*x - a*c)^4*(b*x + a)*x,x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.186815, size = 1, normalized size = 0.02 \[ \frac{1}{7} x^{7} c^{4} b^{5} - \frac{1}{2} x^{6} c^{4} b^{4} a + \frac{2}{5} x^{5} c^{4} b^{3} a^{2} + \frac{1}{2} x^{4} c^{4} b^{2} a^{3} - x^{3} c^{4} b a^{4} + \frac{1}{2} x^{2} c^{4} a^{5} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*c*x - a*c)^4*(b*x + a)*x,x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 0.074481, size = 80, normalized size = 1.36 \[ \frac{a^{5} c^{4} x^{2}}{2} - a^{4} b c^{4} x^{3} + \frac{a^{3} b^{2} c^{4} x^{4}}{2} + \frac{2 a^{2} b^{3} c^{4} x^{5}}{5} - \frac{a b^{4} c^{4} x^{6}}{2} + \frac{b^{5} c^{4} x^{7}}{7} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(x*(b*x+a)*(-b*c*x+a*c)**4,x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.233208, size = 101, normalized size = 1.71 \[ \frac{1}{7} \, b^{5} c^{4} x^{7} - \frac{1}{2} \, a b^{4} c^{4} x^{6} + \frac{2}{5} \, a^{2} b^{3} c^{4} x^{5} + \frac{1}{2} \, a^{3} b^{2} c^{4} x^{4} - a^{4} b c^{4} x^{3} + \frac{1}{2} \, a^{5} c^{4} x^{2} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*c*x - a*c)^4*(b*x + a)*x,x, algorithm="giac")
[Out]